//
//  DataBaseTool.h
//  LYYGame
//
//  Created by YUJIABO on 17/3/10.
//  Copyright © 2017年 YUJIABO. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <FMDatabaseQueue.h>
@interface DataBaseTool : NSObject

+ (instancetype)shareInstance;

@property (nonatomic, strong) FMDatabaseQueue * dbQueue;

- (BOOL) checkTableExist:(NSString *)tableName withFMData:(FMDatabase *)dbDatabase;

//初始化数据库  项目中所有的表的创建都在这个方法里
- (void)createDataBase;

@end
